package org.ftz.pojo;
import java.util.Date;
public class Status { //写题目时的状态
    private String ip; //ip地址
    private int id; //题目编号
    private String status; //通过还是错误
    private String language; //编程语言
    private Date time; //时间
    public Status(String ip, int id, String status, String language, Date time) {
        this.ip = ip;
        this.id = id;
        this.status = status;
        this.language = language;
        this.time = time;
    }
    public Status() {
    }
    public String getIp() {
        return ip;
    }
    public void setIp(String ip) {
        this.ip = ip;
    }
    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getLanguage() {
        return language;
    }
    public void setLanguage(String language) {
        this.language = language;
    }
    public Date getTime() {
        return time;
    }
    public void setTime(Date time) {
        this.time = time;
    }
    @Override
    public String toString() {
        return "Status{" +
                "ip='" + ip + '\'' +
                ", id=" + id +
                ", status='" + status + '\'' +
                ", language='" + language + '\'' +
                ", time=" + time +
                '}';
    }
}
